package cn.zhagzheguo.xk.dao;

import java.util.List;

import cn.zhagzheguo.xk.model.Course;

public interface CourseDao {

	List<Course> getAllByPage(int id);

	List<Course> filteAll(Course course);

	Course getCourse(int id);

	Course getCourseByCnoAndKxh(String cno, int kxh);

	List<Course> getByName(String name, int id);

	List<Course> getByKeyword(String keyword, int id);

	int updateEnrolledNumber(int course_id, int enrolledNumber);

}
